<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head><body>
<script src="js/jquery.js"></script>
<form action="login/auth" method="post">
               
    <div><label> User Name : <input type="text" name="username"/> </label></div>
               
    <div><label> Password: <input type="password" name="password"/> </label></div>
    <input type="text" name="captcha">
    <img src="/captcha.jpg" alt="captcha">     
    <label>
        <input name="remember-me" type="checkbox"> 记住我
    </label>  
    <div><input type="submit" value="Sign In"/></div>
     <button id="btn_logout">注销</button>      
</form>


</body>
<script>
    $(function () {
        $("#btn_logout").onclick(function () {
            console.log("kkk")
            window.open("/logout");
        })
    });
</script>
</html>
